/*  1:   */ package com.rinsi.app.azsb.azzl.jbzl.azscqk;
/*  2:   */ 
/*  3:   */ import com.rinsi.core.CoreCache;
/*  4:   */ import com.rinsi.core.service.CoreSimpleService;
/*  5:   */ import com.rinsi.util.ListUtil;
/*  6:   */ import com.rinsi.util.MapUtil;
/*  7:   */ import java.util.List;
/*  8:   */ import java.util.Map;
/*  9:   */ import org.mybatis.spring.SqlSessionTemplate;
/* 10:   */ import org.springframework.stereotype.Service;
/* 11:   */ 
/* 12:   */ @Service
/* 13:   */ public class AzscqkService
/* 14:   */   extends CoreSimpleService
/* 15:   */ {
/* 16:   */   public void afterIndex(Map<String, Object> model, Map<String, Object> rMap)
/* 17:   */   {
/* 18:20 */     Map<String, Object> params = getParams(model);
/* 19:   */     
/* 20:   */ 
/* 21:23 */     List<Map<String, Object>> modules = CoreCache.getCacheList(MapUtil.getString(params, "UID"), "modules");
/* 22:   */     
/* 23:25 */     List<Map<String, Object>> sub_rights = ListUtil.subList(modules, "MODULE_NO_PRE='500001'");
/* 24:   */     
/* 25:27 */     rMap.put("azsbxx", getSqlSessionTemplate().selectOne("azsb.get", params));
/* 26:   */     
/* 27:29 */     rMap.put("userxx", CoreCache.getCacheMap(MapUtil.getString(params, "UID"), "user"));
/* 28:   */     
/* 29:31 */     model.put("sub_rights", ListUtil.listToMap(sub_rights, "MODULE_TYPE"));
/* 30:   */   }
/* 31:   */ }


/* Location:           D:\Users\Desktop\shanxi\项目\sxazmis\WEB-INF\classes\
 * Qualified Name:     com.rinsi.app.azsb.azzl.jbzl.azscqk.AzscqkService
 * JD-Core Version:    0.7.0.1
 */